<?php
if (count($data)) :
  $destination = drupal_get_destination();
  $webform_template = unserialize(WEBFORM_TEMPLATE);
  $webform_content = unserialize(WEBFORM_CONTENT);  
  foreach ($data as $key => $item):
    if (count($item)) :
      ?>
      <h2><?php print $webform_content[$key]; ?></h2>
      <?php
      print theme('tpl_admin_webform_' . $webform_template[$key], array('item' => $item));
    endif;
  endforeach;
endif;
?>